package com.hyg.lib_music.ui.activity;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.hyg.lib_base.mainUtils.StatusBarUtil;
import com.hyg.lib_common.Base.BaseActivity;
import com.hyg.lib_music.R;

public class TesttingIntroActivity extends BaseActivity {
    ImageView titleTv;
    TextView contentTv,numbersTv;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_testting_intro);
        StatusBarUtil.setStatusBar(1, this, getResources().getColor(R.color.white), 60, null, null, true);
        init();
    }

    public void init() {
        String type = getIntent().getStringExtra("type");
        titleTv=findViewById(R.id.tv_showimage);
        contentTv=findViewById(R.id.tv_content);
//        numbersTv=findViewById(R.id.tv_test_numbers);
        if (type.equalsIgnoreCase("1")) {
            titleTv.setImageResource(R.mipmap.tizhi_icon);
            contentTv.setText(getResources().getString(R.string.tizhi_info));
//            numbersTv.setText("100+");
        } else if (type.equalsIgnoreCase("2")) {
            titleTv.setImageResource(R.mipmap.xinli_icon);
            contentTv.setText(getResources().getString(R.string.xinli_info));
//            numbersTv.setText("2000+");
        }

    }


    public void onBack(View view) {
        finish();
    }


}